package com.itheima.tlias.service;

import com.itheima.tlias.dto.AddStudentDto;
import com.itheima.tlias.dto.CheckStudentDto;
import com.itheima.tlias.dto.UpdateStudentDto;
import com.itheima.tlias.vo.PageBean;
import com.itheima.tlias.vo.StudentVo;

import java.util.List;

public interface StudentService {
    PageBean<StudentVo> studentPage(CheckStudentDto dto);

    void deleteStudents(List<Integer> ids);

    void addStudent(AddStudentDto dto);

    StudentVo getById(Integer id);

    void updateStudent(UpdateStudentDto dto);

    void violateDiscipline(Integer id, Integer score);
}
